<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" action=""  method="post" id="cp-form">.
            <div class="layui-form-item">
                <label class="layui-form-label">用户名称 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <input type="text" value="{$examUser.name}" name="name" placeholder="科目名称"  class="layui-input ">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">联系电话 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <input type="text" placeholder="联系电话"  value="{$examUser.telphone}" name="telphone" class="layui-input ">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">考试系列 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <select name="exam_id" >
                        {volist name="examList" id='v'}
                        <option value="{$v.id}" {eq name="v.id" value="$examUser.exam_id" }select{/eq}>{$v.title}</option>
                        {/volist}
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="hidden" name="id" value="{$subject.id}">
                    <div class="layui-text">带 * 号的为必填项</div>
                    <input type="hidden" name="uid" value="{$examUser.uid|default=0}">
                    <input type="hidden" name="id" value="{$examUser.id}">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <a href="javascript:history.go(-1);" class="layui-btn layui-btn-primary" >返回</a>
                </div>
            </div>
        </form>
    </div>
</div>
